
// scaleW = window.innerWidth / 320;
// scaleH = window.innerHeight / 480;
// var resizes = document.querySelectorAll('.resize');
// for (var j = 0; j < resizes.length; j++) {
//     resizes[j].style.width = parseInt(resizes[j].style.width) * scaleW + 'px';
//     resizes[j].style.height = parseInt(resizes[j].style.height) * scaleH + 'px';
//     resizes[j].style.top = parseInt(resizes[j].style.top) * scaleH + 'px';
//     resizes[j].style.left = parseInt(resizes[j].style.left) * scaleW + 'px';
// }

// 滑动特效
var mySwiper = new Swiper('.swiper-container', {
    direction: 'vertical',
    // pagination: '.swiper-pagination',
    //virtualTranslate : true,
    mousewheelControl: true,


    watchSlidesProgress: true,


})   

// 右侧伸缩栏

$(function () {
    $("#btn").click(function () {
        $("#navList").delay(500).animate({ right: '0' });
    });
    $("#btnb").click(function () {
        $("#navList").animate({ right: '-6.4rem' });
    });
});